SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5c6cc28a73a42d35cd702cda38100c8338a61555ef037531d81ee990c29f8dc' 
  AND token = 'q/bIn4ea1sfod07cdiwyh05PlWp2PQXGRLVzRMp7l/Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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