SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54a1c36315f3e776c02b94b97b9e21b78625a4c3f0e73b500be0bb5de9cf7940' 
  AND token = 'iFWujzML958QDEjILhXu3bof1IeyCcu+KLjCoP0CFoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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