SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ce2b66812e4e25aec5d65099f1f7912544de66f310d283c26377ba4161a750a' 
  AND token = '9WTyeKNoEFi5o4kXjrSG0V6HQOnAQe4iScEcjCNhwIY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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