SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b22d39aa7283371ed0602c620aa0fc3173879cf102815e6db8e462778149246b' 
  AND token = 'DGY5Vz63CjFb4Y/pwdOn9HardbgVsEP1GY8p17fBhFs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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