SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12debdf67783dcd415306b6d46a863d37b4914616fd6d74a96abe44d7174bb6b' 
  AND token = 'H+uH6tgKDe2oqkae8hVfaOWhHyBDQxvHbNzzmew7D6o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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