SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22438dcd338b70cc677719f6740dbbf5cd1be8da4b46ae56d0eb9459f80d7ff9' 
  AND token = '2GbGif47dR4XA8W9vVcX4LEM64CpisrMqC+sS++TpkU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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