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

Query time 0.00056

JSON explain

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