SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce149937f98403627e8160dd2abe397f3d16347ce8a0eb2d677792b3369e8450' 
  AND token = 'fr5024NnII1dfnpPwO3iwHDdIedsOrh5oLPtRn6Sqto=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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