SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8d19b5bf4f7ee7c29a4e4b910fe4e900bc311cebbd16dc6663d53938f62796c' 
  AND token = 'w9gyUv2DiK31gv+dTUjuU9mzZhmoHOMCtsXbkEbNTNY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}