SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af5b8778dcf07d0d08f129f092a8b35c6200c0d1b0d913a487cff7676ca55993' 
  AND token = 'rLD10gGPXFLLwyXW2EsTgrL3fn49h9bAGJjW8NcPnkE=' 
  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"
    }
  }
}