SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ded7f68ddd29c2a195d4a7f65621b8e197f65d4c82050927aadb454191738b8' 
  AND token = 'adSVGSaEGbNCltwbWRMenQ9LB3qkXIyT2T1QV9wlXX4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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