SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1dd23f66c61f796846077841e509882fc77feeb5860df6e709baa6d89ac4b70e' 
  AND token = 'IqY7jaezH/oHqIHrRoBgjWiHOXP6j3nSWBldAb3W2m8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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