SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '881a772bdd06d48f5803523aae39e347f66795cbd79421095857e596232924ff' 
  AND token = 'ae48wMaXv8t8u0WvKr/uHs6+R45ifQ+uWgiZei5zKeA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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