SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d3ba63543e774e2ba866c0162d1d8d10b3e982b6e108fcd3cd7d002dbbc574e' 
  AND token = 'ucm9j9ibPFCfAsJWVhryLrxe+XwVp1B4K0K2/SWB4aU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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