SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '220a1eb532deb0dc407bd414c78c101e583efd310f3544dd2ee44111344bd07e' 
  AND token = 'masM0Y2l9ckSI5ZTyXKyvAf8am0a5yx5MVEfHi47suY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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