SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef65318f0a70522bb2b27fac5145c38f453c462f4840986bf5cae77dfe7c9f29' 
  AND token = 'GJeimtn88YCGMNR5AV4fu97h8/foC6rNwHEV4trcbYI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}