SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fe97f8f52ba787f93788e404e2c0a8bb28512c38901263b1fe59eb80b6c5476' 
  AND token = 'T1XKpxnAamZzuH4PZW0cvxtPiLEFIhN3kQzYcqn7uzA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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