SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e08dea5124a35aea0a9977fb969aba63a6a670d1de47781d4a347a12c3788bb' 
  AND token = 'b8lO6SclcEtQ4hwEk6eggrIyl2ZqLMARW9wVk3DwZC4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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