SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd598c1ced935983225328d91174feae1b4e3447cb12698535d7f6cfd1a89fcb' 
  AND token = '3T0SeT1hoRRWGWJYJ1ja4oiAW7sOabYx0Pfj3KmD+3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}