SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d5189dd3f0850039927ae2803d0a84726ff3edb739040f01732d3cb8ad5c94a' 
  AND token = '4zLbrXXjLFQii2BfS++Yb0xGixbthV8WoBGkRqYkZJc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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