SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f8a18451a243693bc995b6031df1ac7210b4085429ba71cde4aabe443e37d9b' 
  AND token = 'pcz0o+pqRpDSZxW7keef+to2PwnOKt88FLCoMFd4s5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}