SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4916d472f33b64fcbbc9227373cca7324a6b652ed2e09c8852f083d6e61ecfd' 
  AND token = 'qkpCGWCjblKFrB4po09PRtb3fyAB8XiG1WiDtKVdI/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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