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

Query time 0.00049

JSON explain

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