SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ba7fd040bec3274f168ca184858a34fb3a1acbdb60fb914000a9e55ff1913c4' 
  AND token = 'ahfFdPclQg2EsBJcIfFdO0ooilRO59coCrphcOR3G+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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