SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd399578fe1f0f686c43586231b300ae5458c598023e17da7bfe2b512b93ba2a2' 
  AND token = 'XsGY4RUM4ir2Fla8MbAWZ8osh8GS/zKYpN5Da9JWd5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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