SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e987a72d64884292704de75766a3e300a935f3c85013f32564183cfcfe34dab0' 
  AND token = 'vwKbgnopJ1yVM3wNyssxpbO1t0iuhbaIDaEon1t7MuU=' 
  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"
    }
  }
}