SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca379f19b0ab77bef67882c623baa6e5eb09aa035e640358cc3cb260b67da84b' 
  AND token = 'atJIBv61B5BiX57JozajOfiXAajaX29r7PnOofaw+Fg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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