SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a38197f3edf0c558d178e913da8bf7002e7104960eba6a836ecba0a81b53d35b' 
  AND token = 'PFpHf5H606cMrSsozaYRNcXatLZMsqrvVp5guIgZewg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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