SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2435ebbaad200b341adea065d936bf391415249bd1ff2e1c166d9fccacda92a1' 
  AND token = 'VfHqDLHpuqJtG2P1KhNMAWKz09ERy582M6vA9F+N7xA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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