SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '35f430a2d8c2b09c20504a1fb1049fef476be531a8ba3eb63e4c8aa48a64d1ab' 
  AND token = '9ihFiPTNNpvivr0ZzyN3pqNrAPFk66vHyMgRAfmJJBA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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